package org.refresh.core.intelligence.emf;

import org.refresh.core.intelligence.Constraint;


/*******************************************************************************
 * Copyright (c) 2005, 2006 Jules White. All rights reserved. This program and
 * the accompanying materials are made available under the terms of the Eclipse
 * Public License v1.0 which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: Jules White - initial API and implementation
 ******************************************************************************/
public class OCLConstraint implements Constraint {

	public static final String TYPE = "ocl";
	
	private String ocl_;

	
	
	public OCLConstraint(String ocl) {
		super();
		ocl_ = ocl;
	}



	/**
	 * @return the ocl
	 */
	public String getOcl() {
		return ocl_;
	}



	/**
	 * @param ocl the ocl to set
	 */
	public void setOcl(String ocl) {
		ocl_ = ocl;
	}



	public String getType() {
		return TYPE;
	}

	public String toString(){
		return getOcl();
	}
}
